package com.suiwei.base.global;

import lombok.Data;

/**
 * @author suiwei
 * @date 2022-10-25 20:06
 */
@Data
public class GlobalResponse {
    private Boolean flag;
    private Object data;
    private String msg;
    public GlobalResponse(Boolean flag){
        this.flag = flag;
    }
    public GlobalResponse(Boolean flag,Object data){
        this.flag = flag;
        this.data = data;
    }
    public GlobalResponse(Boolean flag,String msg){
        this.flag = flag;
        this.msg = msg;
    }
}
